﻿function init(properties){
    $(".add-to-cart-button").button({
        icons: {
            primary: "ui-icon-cart"
        }
    });

    $(".button,button").button();

    $('.jqzoom').jqzoom({
        zoomType: 'innerzoom',
        preloadImages: false,
        alwaysOn: false
    });
    shop.init(properties);
//    if ($("#content").find("#cart-details").length != 0) {
//        shop.showCartDetails();
//    }
//    if ($("#content").find("#order-details").length != 0) {
//        shop.showOrderDetails();
//    }
}